<?php


/**
 * Notes:
 * PROJECT_NAME : ERP v1.4 优化erp
 * User: 夏鱼儿<397072174@qq.com>
 * Date: 2023/11/1
 * Time: 17:25
 */

namespace app\admin\model;

use app\admin\traits\model\GetAttr;
use app\admin\traits\model\Line;
use app\admin\traits\model\SearchAttr;
use think\Model;
use think\model\concern\SoftDelete;

class BaseModel extends Model
{
    // 定义时间戳字段名
    protected $createTime = 'create_time';

    protected $updateTime = 'update_time';


    // 软删除
    use SoftDelete;

    protected string $deleteTime        = 'delete_time';
    protected        $defaultSoftDelete = 0;

    use GetAttr;
    use SearchAttr;
    use Line;

}